package mock.servicesdirectory.organisations.dao.daointerface;

import java.util.List;

import mock.servicesdirectory.common.entities.Directorate;

public interface DirectorateDAO {
	
	// Method to get all Directorate
	public List<Directorate> getDirectorate();
	
	// Method to get the directorate of an Organisation
	public List<Directorate> getDirectorate(int orgid);
	
	// Method to get all directorate where name start with a flag
	/*
	 * flag = 1 . Name start with a digit 0-9
	 * flag = 2 . Name start with A, B, C, D ,E
	 * flag = 3 . Name start with F, G, H, I, J
	 * flag = 4 . Name start with K, L, M, N
	 * flag = 5 . Name start with 0, P, Q , R
	 * flag = 6 . Name start with S, T, U , V
	 * flag = 7 . Name start with W, Y, Z
	 */
	public List<Directorate> getDirectorate(int orgid,int flag);
	
}
